# - Config file for the PZ package
# It defines the following variables
#  PZ_INCLUDE_DIRS - include directories for using PZ
#  PZ_LIBRARIES    - PZ library to link against

# In the future, if project executables are to be installed, their names should also be defined here:
#  <exec01_name>_EXECUTABLE   
#  <exec02_name>_EXECUTABLE  
#  ...
#
# so that they can be used below
 
# Compute paths
get_filename_component(PZ_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(PZ_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")
set(PZ_BRANCH "@PZ_BRANCH@")
set(PZ_REVISION "@PZ_REVISION@")
set(PZ_REVISION_DATE "@PZ_REVISION_DATE@")
 
# Our library dependencies (contains definitions for IMPORTED targets)
if(NOT TARGET pz AND NOT PZ_BINARY_DIR)
  include("${PZ_CMAKE_DIR}/PZTargets.cmake")
endif()
 
# These are IMPORTED targets created by PZTargets.cmake
set(PZ_LIBRARIES pz)

set(PZ_BUILD_PLASTICITY_MATERIALS @BUILD_PLASTICITY_MATERIALS@)
set(PZ_REAL_TYPE @REAL_TYPE@)
set(PZ_STATE_TYPE @STATE_TYPE@)
set(PZ_USING_BOOST @USING_BOOST@)
set(PZ_USING_FAD @USING_FAD@)
set(PZ_USING_LOG4CXX @USING_LOG4CXX@)
set(PZ_USING_METIS @USING_METIS@)
set(PZ_USING_OPENSSL @USING_OPENSSL@)
set(PZ_USING_TBB @USING_TBB@)
set(PZ_USING_OPENMP @USING_OPENMP@)
set(PZ_USING_LIKWID @USING_LIKWID@)
set(PZ_USING_LIBNUMA @USING_LIBNUMA@)
set(PZ_USING_MATLAB_ENGINE @USING_MATLAB_ENGINE@)
set(PZ_USING_LAPACK @USING_LAPACK@)
set(PZ_USING_BLAS @USING_BLAS@)
set(PZ_USING_PAPI @USING_PAPI@)
set(PZ_USING_HWLOC @USING_HWLOC@)
set(PZ_BUILD_PYTHON_BINDING @BUILD_PYTHON_BINDING@)
set(PZ_PTHREAD_LIB "@PTHREAD_LIB@")
set(PZ_PTHREAD_INCLUDE "@PTHREAD_INCLUDE@")
set(PZ_USING_MKL @USING_MKL@)

if( EXISTS "${PZ_CMAKE_DIR}/PZConfig_Debug.cmake" )
	include("${PZ_CMAKE_DIR}/PZConfig_Debug.cmake")
endif()

#(for future decision!)
#set(<exec01_name>_EXECUTABLE <name> )   

